
package codeGenerate.json.vo;

public class JavaField {

	/**
	 * 对象，数组，基本类型
	 */
	private String jsonType;

	/**
	 * 字段名，类名，数组名
	 */
	private String classFieldName;

	private String jsonFieldName;

	/**
	 * 当为基本类型的字段类型，或者数组时，泛型是基本数组
	 */
	private String javaType;

	private String javaTypePath;

	public String getJsonType() {
		return jsonType;
	}

	public void setJsonType(String jsonType) {
		this.jsonType = jsonType;
	}

	public String getClassFieldName() {
		return classFieldName;
	}

	public void setClassFieldName(String classFieldName) {
		this.classFieldName = classFieldName;
	}

	public String getJavaType() {
		return javaType;
	}

	public void setJavaType(String javaType) {
		this.javaType = javaType;
	}

	public String getJavaTypePath() {
		return javaTypePath;
	}

	public void setJavaTypePath(String javaTypePath) {
		this.javaTypePath = javaTypePath;
	}

	public String getJsonFieldName() {
		return jsonFieldName;
	}

	public void setJsonFieldName(String jsonFieldName) {
		this.jsonFieldName = jsonFieldName;
	}

	@Override
	public String toString() {
		return "JavaField [jsonType=" + jsonType + ", classFieldName=" + classFieldName + ", jsonFieldName=" + jsonFieldName + ", javaType=" + javaType + ", javaTypePath="
				+ javaTypePath + "]";
	}

}
